#ifndef CMUS_RG_H
#define CMUS_RG_H

#include "def.h"
#include "graphics.h"
#include "util.h"
#include "id3.h"

void init_crg(TTF_Font **font, bool *render_change, track **cr_track, player **cr_player, bool *file_changed, int *frame);
void cleanup_crg(track *cr_track, player *cr_player);
void update_crg();

FILE *query_cmus();
void process_info(track *cr_track, player *cr_player, uint64_t *previous_info_hash, bool *file_changed, bool *incomplete_parse);

#endif